//
//  UILabel+Extension.swift
//  My_Weibo
//
//  Created by 正能量 on 16/8/23.
//  Copyright © 2016年 正能量. All rights reserved.
//

import UIKit
/// UILabel分类
extension UILabel {
    convenience init(
        text:String,
        fontSize:CGFloat = 14,
        color:UIColor = UIColor.darkGrayColor(),
        alignment:NSTextAlignment = .Left) {
        
        self.init()
        
        self.text = text
        self.textColor = color
        self.numberOfLines = 0
        self.font = UIFont.systemFontOfSize(fontSize)
        self.textAlignment = .Center
    }
}
